﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="WebFormReporteCarreraMejorParticipacionForo.aspx.cs" Inherits="ReportesWeb.WebSites.WebFormReporteCarreraMejorParticipacionForo" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
            DataSourceID="SqlDataSourceSAFS" DataTextField="nombre" 
            DataValueField="id_carrera" Height="21px" Width="234px">
        </asp:DropDownList>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            Text="Generar Reporte" />
    </p>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
        Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
        style="margin-right: 517px" WaitMessageFont-Names="Verdana" 
        WaitMessageFont-Size="14pt" Width="399px">
        <LocalReport ReportPath="Reportes\ReporteCarreraMejorNotaParticipacionForos.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="SqlDataSourceSAFS" 
                    Name="DataSetCarreraMejorNotaParticipacionForo" />
            </DataSources>
        </LocalReport>
    </rsweb:ReportViewer>
    <asp:SqlDataSource ID="SqlDataSourceSAFS" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SAFSDB1ConnectionString %>" 
        SelectCommand="sp_carrera_mejor_nota_participacion_foro" 
        SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:Parameter Name="idCarrera" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>
